package com.yc.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;
@Data
@TableName("tb_order")
public class OrderBean {
    @TableId(type = IdType.AUTO)
    Integer id;
    @TableField("userid")
    Integer userid;
    @TableField("order_code")
    String order_code;
    @TableField("table_id")
    Integer table_id;
    @TableField("total_price")
    Double total_price;
    @TableField("order_status")
    Integer order_status;
    @TableField("order_date")
    LocalDateTime order_date;
    @TableField("pay_date")
    LocalDateTime pay_date;
    @TableField("update_date")
    LocalDateTime update_date;
    @TableField("disabled")
    Integer disabled;
}
